﻿using Furion.DatabaseAccessor.Extensions;
using Project1.Core.Entity.MYBAESOracle;
using Project1.Core.Locator;

namespace Project1.Application.CraftperdispositionControllers
{
    [ApiDescriptionSettings("Oracle", Tag = "制丝工艺检查消息推送人员配置")]
    public class Craftperdisposition : IDynamicApiController
    {
        private readonly IRepository<CRAFTPERDISPOSITION, MYBASEDbContextLocator> _main;


        public Craftperdisposition(IRepository<CRAFTPERDISPOSITION, MYBASEDbContextLocator> main)
        {
            _main = main;
        }


        /// <summary>
        /// 添加制丝工艺检查消息推送人员配置
        /// </summary>
        /// <returns></returns>
        public async Task AddCraftperdisposition()
        {
            var data = new CRAFTPERDISPOSITION();
            data.ID = Guid.NewGuid().ToString();
            await data.InsertAsync();

        }
    }
}